<!-- <template>
  <div></div>
</template>

<script lang="ts">
import { Component, Watch } from "vue-property-decorator";
import Mixins from "./CMixins.vue";
import exportVue from "@/assets/modules/exportVue";
import store from "@/assets/modules/store";
@Component({ name: "FloorHandler", components: {} })
export default class extends Mixins {
  async mounted() {
    if (this.view) {
      this.clickObject = "floor";
      this.addFloor();
      this.bindClickEvt();
      this.handleFloorSelect();
    }
  }
  beforeDestroy() {
    this.destroy();
    exportVue.$off("floor-select");
  }
  handleFloorSelect() {
    exportVue.$on("floor-select", (param: any) => {
      this.highLightFloor(param);
    });
  }
}
</script>

<style lang="scss" scoped></style> -->
